package com.qf.film.view.dao;

import com.qf.film.view.pojo.FilmInfo;
import com.qf.film.view.pojo.FilmType;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author King_long
 * @program: 20191025
 * @Date 2019-10-25 15:47
 */
@Repository
public interface IFilmDao {

    public int insert(FilmInfo filmInfo);

    public int update(FilmInfo filmInfo);

    public int delete(int filmId);

    public List<FilmInfo> search(Map<String,Object> map);

    public List<FilmType> selectType();
}
